﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InvoicePaydeail.aspx.cs"
    Inherits="HZ.DrugTrade.Web.Hospitals.Collection.InvoicePaydeail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../lib/style/global.css" />
    <script type="text/javascript" src="../../lib/scripts/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../../lib/scripts/Common.js"></script>
    <script type="text/javascript" src="../../lib/scripts/global.js"></script>
    <script type="text/javascript" src="../../lib/scripts/PCASClass.js"></script>
</head>
<body style="margin: 0">
    <form id="form1" runat="server">
    <asp:GridView ID="gvGoods" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
            <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <%--<asp:BoundField DataField="Factor" HeaderText="转换系数" />--%>
            <asp:BoundField DataField="Unit" HeaderText="最小计量单位" />
            <asp:BoundField DataField="QualityLevel" HeaderText="产品类别" />
            <%--<asp:BoundField DataField="ProcurePrice" HeaderText="采购限价" />--%>
            <%--<asp:BoundField DataField="Price" HeaderText="采购价" DataFormatString="{0:N4}" />--%>
            <asp:TemplateField HeaderText="采购价">
                <ItemTemplate>
                    <asp:Label ID="lblPrice" runat="server" Text='<%#HZ.DrugTrade.Web.Function.FormPrice(Eval("ProjectID"), Eval("Price")) %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:BoundField DataField="BatchRecordID" HeaderText="批号" />
            <asp:BoundField DataField="InvoiceID" HeaderText="发票号" />
            <asp:BoundField DataField="Dis_DistributeCount" HeaderText="配送量" />
            <asp:BoundField DataField="Dis_WarehouseCount" HeaderText="已入库数量" />
            <asp:BoundField DataField="settlecount" HeaderText="可结算数量" />
            <%--                            <asp:TemplateField HeaderText="入库金额">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>--%>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div id="list">
        <hz:HzButton ID="btnExport" runat="server" Text="导出Excel" CssClass="btn" OnClick="btnExport_Click"
            Visible="false" />
    </div>
    </form>
</body>
</html>
